package actions.main.form;

import gui.standard.form.PopisnaKomisijaForm;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import javax.swing.AbstractAction;
import javax.swing.KeyStroke;

public class PopisnaKomisijaAction extends AbstractAction {

	private static final long serialVersionUID = 1L;

	public PopisnaKomisijaAction() {
		KeyStroke ctrlDKeyStroke = KeyStroke.getKeyStroke(KeyEvent.VK_D,
				ActionEvent.CTRL_MASK);
		putValue(ACCELERATOR_KEY, ctrlDKeyStroke);
		putValue(SHORT_DESCRIPTION, "Popisna komisija");
		putValue(NAME, "Popisna komisija");
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		PopisnaKomisijaForm form = new PopisnaKomisijaForm();
		form.init();
		form.open();
		form.setVisible(true);
	}

}
